<%= simple_form_for [:admin, @channel, @program], :html => { :class => "form_style1" } do |f| %>
  <div class="field_groups">
    <%= f.input :channel_id, :as => :select, :collection => collection_channels, :include_blank => false, :label => "채널" %>
  </div>
  <div class="field_groups">
    <%= f.input :title, :label => "프로그램명" %>
    <%= f.input :pd_name, :label => "PD 이름" %>
    <%= f.input :operator_name, :label => "진행자" %>
  </div>
  <div class="field_groups">
    <%= f.input :day_of_week, :as => :select, :collection => collection_day_of_week, :include_blank => false, :label => "요일" %>
    <%= f.input :start_time, :label => "시작시간" %>
    <%= f.input :end_time, :label => "종료시간" %>
  </div>
  <div class="field_groups">
    <%= f.input :logo_position, :as => :select, :collection => ["left", "right"], :include_blank => false, :label => "로고위치" %>
    <%= f.input :logo_url, :label => "로고 이미지 URL" %>
    <%= f.input :background_url, :label => "배경 이미지 URL" %>
  </div>
  <div class="buttons">
    <%= f.submit "저장" %>
    <%= link_to_function "이전으로 돌아가기", "window.history.back()" %>
  </div>
<% end %>
